#!/usr/bin/env python3.11
# -*- encoding: utf-8 -*-
'''
@File    :   schemas.py
@Time    :   2024/02/20 16:55:20
@Author  :   windstarry 
@Version :   1.0
'''
# here put the import lib
from core.schemas import CoreModelSchema
from .models import ExamCategory


class CreateExamCategorySchema(CoreModelSchema):
    class Config:
        model = ExamCategory
        optional = ["creator",]
        include = ("name", "tag", "description")